You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
665 B

1 month ago
import { getContact } from "../../../lib/data";
import { ContactSection } from "../../../components/ContactSection";
1 month ago
import { ContactHero } from "../../../components/ContactHero";
1 month ago
export const revalidate = 300;
export default function ContactPage({ params }: { params: { locale: string } }) {
const locale = params.locale;
const data = getContact(locale);
return (
1 month ago
<main className="min-h-screen bg-[#f0f4ff] text-[#1e2a3f]">
1 month ago
{data.hero && (
1 month ago
<ContactHero
1 month ago
title={data.hero.title}
subtitle={data.hero.subtitle}
1 month ago
image={data.hero.image}
1 month ago
/>
)}
<ContactSection data={data} />
</main>
);
}